package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告通知对象 invoice_message
 * 
 * @author ruoyi
 * @date 2024-07-05
 */
public class InvoiceMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 消息接收者 */
    @Excel(name = "消息接收者")
    private String messageReciver;

    /** 消息 */
    @Excel(name = "消息")
    private String message;

    /** 0未读 1已读 2不需要读 */
    @Excel(name = "0未读 1已读 2不需要读")
    private String status;

    /** 消息发送者 */
    @Excel(name = "消息发送者")
    private String messageSender;

    /** 已读时间 */
    @Excel(name = "已读时间")
    private String readTime;

    /** 流水关联id */
    @Excel(name = "流水关联id")
    private Long detailId;

    private String startTime;
    private String  endTime;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMessageReciver(String messageReciver) 
    {
        this.messageReciver = messageReciver;
    }

    public String getMessageReciver() 
    {
        return messageReciver;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setMessageSender(String messageSender) 
    {
        this.messageSender = messageSender;
    }

    public String getMessageSender() 
    {
        return messageSender;
    }
    public void setReadTime(String readTime) 
    {
        this.readTime = readTime;
    }

    public String getReadTime() 
    {
        return readTime;
    }
    public void setDetailId(Long detailId) 
    {
        this.detailId = detailId;
    }

    public Long getDetailId() 
    {
        return detailId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("messageReciver", getMessageReciver())
            .append("message", getMessage())
            .append("status", getStatus())
            .append("messageSender", getMessageSender())
            .append("createTime", getCreateTime())
            .append("readTime", getReadTime())
            .append("detailId", getDetailId())
            .toString();
    }
}
